package com.example.mymvvmdemo.constants;


import com.example.mymvvmdemo.MyApplication;

public class Constants {

    public static final String RELEASR_APK_DATE = "_Build2025031401";//编译apk的日期
    public static String APPTYPEFLAG = "安卓";//客户端标识
    public static final String APP_CODE = "QAMEYE";
    public static final String app_key = "6710574ae00a42d295ca43bbb42414ba";
    public static final String app_secret = "c2a09e8181224d64b600adbef1501a1b";
    public static final String APPID = "iot_sdk_demo";//新版360所需参数

    public static final String AK = "2ebkbgoa7yn8";//新版360所需参数
    public static final String SK = "f8a2158c372832f70028659d0f1ae901";//新版360所需参数


    /*** --------------------------------------域名---------------------------------------------------*/
    //生产环境地址
    public static final String URL_CHINA_SC = "http://mlxmaster.top:8090/";


    /*** --------------------------------------秘钥--------------------------------------------------- */
    //正式环境
    public static String key = "engkoza2a8193bsookj2gfyd6qeh1p9v";
    //正式环境  HMACSHA256加密Secret
    public static String APP_SECRET = "vkdnnwiezk0116yp2airf3zo7bn3kmzf";


    /*** --------------------------------------存储数据相关（数据库，sp库）--------------------------------------------------- */
    public static final String ACCOUNT_NAME = "account"; //存放账号的库名
    public static final String SP_AUTH_TOKEN = "auth-token";
    public static final String USER_PRIVATE = "user_private"; //是否同意用户协议
    public static final String USER_ACCOUNT = "user_account"; //用户登录账号
    public static final String USER_PASSWORD = "user_password"; //用户登录密码

    /*** --------------------------------------文件格式相关--------------------------------------------------- */
    /*** 文件保存前缀  */
    public static String FILE_PREFIX2 = "/sdcard/DCIM/Camera";
    public static String FILE_PREFIX = MyApplication.getContext().getCacheDir().getAbsolutePath();
//    public static String FILE_PREFIX = Environment.getDataDirectory().toString();
    /*** APP文件夹  */
    public static String FILES_APP = "/Qameye";
    /*** 相册文件夹  */
    public static String FILES_ALBUM = "/Album";
    /*** 照片文件夹  */
    public static String FILES_IMAGE = "/Image";
    /*** 视频文件夹  */
    public static String FILES_VIDEO = "/Video";
    /*** 音频文件夹  */
    public static String FILES_AUDIO = "/Audio";
    /***设备封面文件夹  */
    public static String FILES_COVER = "/Cover";
    /***用户自定义的音频报警文件夹  */
    public static String FILES_POLICE = "/Police";
    /*** png格式后缀  */
    public static String FORMAT_PNG = ".png";
    /*** jpg格式后缀  */
    public static String FORMAT_JPG = ".jpg";
    /*** mp4格式后缀  */
    public static String FORMAT_MP4 = ".mp4";
    /*** h264格式后缀  */
    public static String FORMAT_AVC = ".h264";
    /*** PCM格式后缀  */
    public static String FORMAT_PCM = ".pcm";

    /*** --------------------------------------权限相关--------------------------------------------------- */
    /*** 相机请求权限 */
    public static final int PHOTO_PERMISSIONS = 0x500;
    /*** 读写请求权限 */
    public static final int READ_PERMISSIONS = 0x501;
    public static final int WRITER_PERMISSIONS = 0x502;
    /*** 定位请求权限 */
    public static final int LOCATION_PERMISSIONS = 0X503;
    /*** 录音请求权限 */
    public static final int AUDIO_PERMISSIONS = 0x504;

    /*** --------------------------------------请求超时标记--------------------------------------------------- */
    public static final String NETWORK_ERROR = "Unable to resolve host";
    public static final String NETWORK_ERROR2 = "No address associated with hostname";
    public static final String NETWORK_ERROR3 = "failed to connect to";

    /*** --------------------------------------标识符--------------------------------------------------- */
    public static final String ONLINE = "online"; //
    public static final String OFFLINE = "offline"; //

    //TODO 发送验证码类标识符
    public static final String REGISTER = "register"; //注册
    public static final String FORGOT = "forgot"; //忘记密码

    /*** --------------------------------------接口请求地址--------------------------------------------------- */
    /*** --------------------------------------功能开关--------------------------------------------------- */
    /*** 是否开启可视化日志 */
    public static boolean LOOK_LOG = false;

    /*** --------------------------------------状态相关--------------------------------------------------- */
    /*** --------------------------------------值--------------------------------------------------- */


}
